import request from '@/utils/request'
import qs from 'qs'

export function getAmazon (pageNumber, pageSize, queryList) {
  console.log(queryList)
  return request({
    url: '/brush/amazon_info/list',
    method: 'get',
    params: {
      pageNumber: pageNumber,
      pageSize: pageSize,
      receivingName: queryList.receivingName,
      evaluateName: queryList.evaluateName,
      status:queryList.status
    }
  })
}

export function auditAmazon (id,status,reason) {
  return request({
    url: '/brush/amazon_info/audit_info',
    method: 'post',
    data: qs.stringify({
      id,status,reason
    })
  })
}

